package com.zuosh.service;

import com.zuosh.common.Result;
import com.zuosh.domain.User;

/**
 * Created by zuoshuai on 2017/3/17.
 */
public interface UserService {
    //注册
    Result<Long> register(User user);

    //登录
    Result<User> login(User user);

    //激活
    Result<Boolean> activeUser(User user);
}
